/*
 * File:    InsecureChannel.java
 * Created: 19-Oct-2005
 * Version: $Id: //depot/bitgate/bsse/src/bitgate/util/socket/InsecureChannel.java#1 $
 *
 * COPYRIGHT (C) 2005, Bitgate Software, LLC.  All Rights Reserved.
 *
 * software@bitgatesoftware.com
 */

package com.bitgate.util.socket;

import java.nio.channels.SocketChannel;

/**
 * This is a non-secure non-blocking socket class.
 *
 * @author Kenji Hollis &lt;kenji@bitgatesoftware.com&gt;
 * @version $Id: //depot/bitgate/bsse/src/bitgate/util/socket/InsecureChannel.java#1 $
 */
public class InsecureChannel extends AbstractClientChannel
{
	/**
	 * Constructs a new insecure channel object.
	 * 
	 * @param wrappedChannel <code>SocketChannel</code> object.
	 */
	public InsecureChannel(SocketChannel wrappedChannel)
	{
		super(wrappedChannel);
	}
	
	/**
	 * Since this is an insecure channel, the secure status is false.
	 * 
	 * @return <code>false</code> indicating a non-secure channel.
	 */
	@Override
    public boolean isSecure()
    {
        return false;
    }
}
